from business.statistic import statistic
from business.get_user import get_user
from spider.user_spider import user_blog_list
from weibo_api.fans_api import get_fans_id_list_api

from business.store_user_info import get_user_info_and_store
from business.store_weibo_info import get_user_weibo_and_store

from business.get_data_for_ai_from_database import get_data_for_ai_from_database



def main():
    
    # 直接获取数据json
    # statistic(7608267781)
    get_user(7608267781)
    
    # 存储数据
    # get_user_info_and_store(7608267781)
    # get_user_info_and_store(1649111590)
    # get_user_weibo_and_store(7608267781)
    
    # 从存储完毕的数据中提取出要给AI用的数据
    # get_data_for_ai_from_database(7608267781)
    
    
    # 测试
    # user_blog_list(7608267781, "2024-05-15")
    # user_blog_list(7608267781, "2024-04-15")
    # get_fans_id_list_api(7608267781, 21)
    
main()

